package com.distribution.system.controller;

import com.distribution.common.core.controller.BaseController;
import com.distribution.system.service.CmccDaProductClassifyService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: GodLu
 * @create: 2024-07-17 09:01
 * @description: TODO
 */
@RestController
@RequestMapping("/CmccDaProductClassify")
public class CmccDaProductClassifyController extends BaseController {
    @Resource
    private CmccDaProductClassifyService cmccDaProductClassifyService;

    @GetMapping("/getClassifyNameList")
    List<String> getClassifyNameList(){
        return cmccDaProductClassifyService.getClassifyNameList();
    }
}
